--- a//the.c.orig	2013-12-28 20:08:15.000000000 -0800
+++ b/the.c	2018-06-14 14:49:04.152326981 -0700
@@ -1113,7 +1113,7 @@
 #endif
    curses_started = TRUE;
 
-#if defined(USE_WINGUICURSES) || defined(USE_XCURSES)
+#if defined(USE_WINGUICURSES) 
    /*
     * Tell PDCurses which key should be returned when the window close button is clicked
     */
